package ar.org.cfired.creditos.parametros;

import java.math.BigDecimal;

public class Sectorialista {
	private String id;	
	private String nombre;

	
	public void setId (String id) {
		if (id != null)
			this.id = id.substring(0, Math.min(255, id.length()));
		else
			this.id = new String();
	}
	public String getId() {
		return (this.id);
	}		
	
	public void setNombre (String nombre) {
		if (nombre != null)
			this.nombre = nombre.substring(0, Math.min(255, nombre.length()));
		else
			this.nombre = new String();
	}
	public String getNombre() {
		return (this.nombre);
	}	

	public void parseObject(Object[] o) {

		if (o.length >= 2) {
			if (o[0] != null) this.setId((String)o[0]);
			if (o[1] != null) this.setNombre((String)o[1]);
		}
	}

}
